CC = @gcc

# options: -DDEBUG for debugging purposes;
CFLAGS = -Wall -pedantic

LIB=-lm -ltiff

objects=camera.o image.o connect.o

.PNONY: clean

# compilation options and dependencies

camera: $(objects)
	$(CC) $(CFLAGS) $(LIB) $(objects) -o camera

camera.o: camera.c image.h connect.h

connect.o: connect.c connect.h

image.o: image.c image.h gaussian.h

clean:
	@echo "\nDeleting old files"
	@-rm -f ./camera $(objects) *~ ./Debug/*.tiff


